package EveryDayPractice;

import java.util.Scanner;

public class Practice04 {
    public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int a=sc.nextInt();
    System.out.print(a+"=");
    for(int i=2;;)
    {
        if(a%i==0&&a/(i+1)==0)
        {
            System.out.println(i);
            break;
        }
        if(a%i==0)
        {
              System.out.print(i+"*");
              a/=i;
        }
        else
        {
            i++;
        }
    }
    }
}
